import { navbar } from "vuepress-theme-hope";

export default navbar([
  {
    text: "首页",
    icon: "book",
    link: "/",
  },
  "/md/knowledge_outline/", // 知识大纲
  {
    text: "Java",
    icon: "lightbulb",
    prefix: "/guide/",
    children: [
      {
        text: "Java基础",
        icon: "lightbulb",
        prefix: "bar/",
        // children: ["baz", { text: "...", icon: "ellipsis", link: "" }],
        children: [
          { text: "Java基础知识", link: "" },
          { text: "Java基础知识", link: "" },
        ],
      },
      {
        text: "Foo",
        icon: "lightbulb",
        prefix: "foo/",
        children: [{ text: "Java集合框架", link: "" }],
      },
    ],
  },
  {
    text: "数据库",
    icon: "lightbulb",
    prefix: "/guide/",
    children: [
      {
        text: "Bar",
        icon: "lightbulb",
        prefix: "bar/",
        children: ["baz", { text: "...", icon: "ellipsis", link: "" }],
      },
      {
        text: "Foo",
        icon: "lightbulb",
        prefix: "foo/",
        children: ["ray", { text: "...", icon: "ellipsis", link: "" }],
      },
    ],
  },
  {
    text: "框架|中间件",
    icon: "lightbulb",
    prefix: "/guide/",
    children: [
      {
        text: "Bar",
        icon: "lightbulb",
        prefix: "bar/",
        children: ["baz", { text: "...", icon: "ellipsis", link: "" }],
      },
      {
        text: "Foo",
        icon: "lightbulb",
        prefix: "foo/",
        children: ["ray", { text: "...", icon: "ellipsis", link: "" }],
      },
    ],
  },
  {
    text: "博客",
    icon: "house",
    link: "/article/",
  },
]);
